package com.lin.cloud.disk.service;

import com.lin.cloud.disk.entity.pojo.Permission;
import com.lin.cloud.disk.entity.response.PermissionGroupListResponse;

import java.util.List;

/**
 * (Permission)表服务接口
 *
 * @author ljc
 * @since 2020-12-10 16:44:58
 */
public interface IPermissionService {

    /**
     * 通过权限ID列表查询权限列表
     * @param permissionIdList
     * @return
     */
    List<Permission> selectPermissionListByPermissionIdList(List<Long> permissionIdList);


    /**
     * 所有的权限
     * @return
     */
    PermissionGroupListResponse allPermissionList();
}